import xlrd
import os


class ReadData:


    def readData(self,st_index,filename):
        data = []
        wb = xlrd.open_workbook(filename=filename)
        st = wb.sheet_by_index(st_index)
        rows = st.nrows
        for i in range(1,rows):
            data.append(st.row_values(i))
        return data








